package top.aicey.ai.sparring.common.constants;

import top.aicey.ai.sparring.common.holder.SparringMode;
import top.aicey.ai.sparring.common.holder.SparringProcessorType;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author yangyongping
 * @date 2025-01-11 2:38 下午
 */
public interface SparringProcessorConstants {
    /**
     * 本地陪练上下文处理器
     */
    String LOCAL_SPARRING_CONTEXT_PROCESSOR = "localSparringContextProcessor";

    String LOCAL_REPORT_PROCESSOR = "localReportProcessor";

    String LOCAL_LOG_INDEX_CONTEXT_PROCESSOR = "localLogIndexContextProcessor";

    Map<SparringMode,Map<SparringProcessorType,String>> MODE_TYPE_PROCESSOR_NAMES = new ConcurrentHashMap<SparringMode,Map<SparringProcessorType,String>>(){
        {
            Map<SparringProcessorType,String> local = new ConcurrentHashMap<>();
            put(SparringMode.local,local);
            local.put(SparringProcessorType.SPARRING_CONTEXT_PROCESSOR,LOCAL_SPARRING_CONTEXT_PROCESSOR);
            local.put(SparringProcessorType.PROCESSOR_PROCESSOR,LOCAL_REPORT_PROCESSOR);
        }
    };


}
